package day6;

public class Circle {
    private double radius;
    static double PI=3.14;
    public  Circle(double radius){
        this.radius=radius;
    }
    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }
    public double area(double radius){
        return radius*radius*PI;
    }
    public double perimeter(double radius){
        return 2*radius*PI;
    }
}
